d = {'a': '3', 'b': 4, 'c': 5}
s1 = d.items()
lst = []
for key, value in s1:
    s3 = "%s=%s" % (key, value)
    lst.append(s3)
print("&".join(lst))

print("{'a':'3','b':'4','c':'5'" + ",'d':'6'" + "}")
